gtk4.git
12 years agodocs: fix quotes in example
William Jon McCann [Thu, 6 Feb 2014 15:54:42 +0000 (10:54 -0500)]
docs: fix quotes in example

12 years agopopover: Emit ::closed once modality is cleared
Bastien Nocera [Thu, 6 Feb 2014 15:13:43 +0000 (16:13 +0100)]
popover: Emit ::closed once modality is cleared

Otherwise, calling gtk_widget_grab_focus() on a widget when the
popover send ::closed won't work.

12 years agodocs: Don't use warnings
William Jon McCann [Thu, 6 Feb 2014 14:44:46 +0000 (09:44 -0500)]
docs: Don't use warnings

12 years agopopover: Add ::closed signal
Carlos Garnacho [Thu, 6 Feb 2014 14:30:55 +0000 (15:30 +0100)]
popover: Add ::closed signal

This signal is emitted when the popover is dismissed either through
API or user interaction, somewhat more friendly than connecting to
::unmap.

12 years agopopover: Add padding pointers to GtkPopoverClass
Carlos Garnacho [Thu, 6 Feb 2014 14:21:56 +0000 (15:21 +0100)]
popover: Add padding pointers to GtkPopoverClass

12 years agodocs: don't use <important>
William Jon McCann [Wed, 5 Feb 2014 07:25:03 +0000 (02:25 -0500)]
docs: don't use <important>

12 years agodocs: don't use <warning>
William Jon McCann [Wed, 5 Feb 2014 07:17:03 +0000 (02:17 -0500)]
docs: don't use <warning>

12 years agodocs: use markdown instead of <note>
William Jon McCann [Wed, 5 Feb 2014 04:57:30 +0000 (23:57 -0500)]
docs: use markdown instead of <note>

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Wed, 5 Feb 2014 22:31:24 +0000 (22:31 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated translation date
GNOME Translation Robot [Wed, 5 Feb 2014 21:02:57 +0000 (21:02 +0000)]
Updated translation date

This is a test commit for hook checks.

12 years agoUse proper quotes in gdk
William Jon McCann [Wed, 5 Feb 2014 19:50:22 +0000 (14:50 -0500)]
Use proper quotes in gdk

12 years agodocs: use proper quotes
William Jon McCann [Wed, 5 Feb 2014 18:07:34 +0000 (13:07 -0500)]
docs: use proper quotes

12 years agodocs: fix missing quotation mark
William Jon McCann [Wed, 5 Feb 2014 18:21:57 +0000 (13:21 -0500)]
docs: fix missing quotation mark

12 years agoUpdated French translation
Claude Paroz [Wed, 5 Feb 2014 20:05:43 +0000 (20:05 +0000)]
Updated French translation

12 years agodocs: add back id for section heading
William Jon McCann [Wed, 5 Feb 2014 05:32:37 +0000 (00:32 -0500)]
docs: add back id for section heading

It was lost during the markdown conversion.

12 years agodocs: Don't use <xi:include>
William Jon McCann [Wed, 5 Feb 2014 02:35:21 +0000 (21:35 -0500)]
docs: Don't use <xi:include>

12 years agoUpdated French translation
Claude Paroz [Wed, 5 Feb 2014 17:13:56 +0000 (18:13 +0100)]
Updated French translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 5 Feb 2014 12:49:05 +0000 (13:49 +0100)]
Updated Spanish translation

12 years agolabel: Invalidate link colors on style change
Benjamin Otte [Wed, 5 Feb 2014 12:36:33 +0000 (13:36 +0100)]
label: Invalidate link colors on style change

Discovered-by: Timm Bäder <mail@baedert.org>
https://bugzilla.gnome.org/show_bug.cgi?id=721309

12 years agolabel: refactor code
Benjamin Otte [Wed, 5 Feb 2014 02:17:48 +0000 (03:17 +0100)]
label: refactor code

Split out function for setting attributes. This will be needed in future
patches.

12 years agolabel: Avoid creating new attribute list
Benjamin Otte [Tue, 4 Feb 2014 22:34:06 +0000 (23:34 +0100)]
label: Avoid creating new attribute list

Only create an attribute list for merging if we actually need to merge.

This bug was introduced in 5230cfe805b8f0046896c029612180fc9d4cc5df

12 years agowidget: Fix margin-start and margin-end properties
Bastien Nocera [Wed, 5 Feb 2014 09:34:44 +0000 (10:34 +0100)]
widget: Fix margin-start and margin-end properties

The margin-start and margin-end properties were incorrectly
defined, so margins weren't respected for RTL languages.

https://bugzilla.gnome.org/show_bug.cgi?id=723627

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Wed, 5 Feb 2014 11:03:40 +0000 (11:03 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated Thai translation
Theppitak Karoonboonyanan [Wed, 5 Feb 2014 09:23:52 +0000 (16:23 +0700)]
Updated Thai translation

12 years agoAdd minimal popover theming to Raleigh
Matthias Clasen [Wed, 5 Feb 2014 04:10:22 +0000 (23:10 -0500)]
Add minimal popover theming to Raleigh

Add background and border, so the popover boundaries are visible.

12 years agodocs: Use "#" for refsect2 instead of ##
William Jon McCann [Wed, 5 Feb 2014 02:00:58 +0000 (21:00 -0500)]
docs: Use "#" for refsect2 instead of ##

12 years agodocs: don't use <para id="">
William Jon McCann [Wed, 5 Feb 2014 01:21:05 +0000 (20:21 -0500)]
docs: don't use <para id="">

12 years agodocs: use a list instead of a table
William Jon McCann [Wed, 5 Feb 2014 01:00:53 +0000 (20:00 -0500)]
docs: use a list instead of a table

12 years agodocs: don't use <orderedlist>
William Jon McCann [Wed, 5 Feb 2014 00:45:36 +0000 (19:45 -0500)]
docs: don't use <orderedlist>

12 years agodocs: don't use <variablelist>
William Jon McCann [Wed, 5 Feb 2014 00:40:34 +0000 (19:40 -0500)]
docs: don't use <variablelist>

12 years agodocs: don't use itemizedlist
William Jon McCann [Wed, 5 Feb 2014 00:33:43 +0000 (19:33 -0500)]
docs: don't use itemizedlist

12 years agodocs: don't use <keycap> tags
William Jon McCann [Wed, 5 Feb 2014 00:29:00 +0000 (19:29 -0500)]
docs: don't use <keycap> tags

12 years agodocs: don't use <replaceable>
William Jon McCann [Wed, 5 Feb 2014 00:20:16 +0000 (19:20 -0500)]
docs: don't use <replaceable>

12 years agodocs: don't use ulink. use markdown instead
William Jon McCann [Tue, 4 Feb 2014 23:53:51 +0000 (18:53 -0500)]
docs: don't use ulink. use markdown instead

12 years agodocs: don't use <varnam>
William Jon McCann [Tue, 4 Feb 2014 23:32:42 +0000 (18:32 -0500)]
docs: don't use <varnam>

12 years agodocs: don't use <parameter> tags
William Jon McCann [Tue, 4 Feb 2014 23:30:46 +0000 (18:30 -0500)]
docs: don't use <parameter> tags

12 years agodocs: use ` instead of <literal>
William Jon McCann [Tue, 4 Feb 2014 23:21:13 +0000 (18:21 -0500)]
docs: use ` instead of <literal>

12 years agodocs: use quotes instead of <firstterm>
William Jon McCann [Tue, 4 Feb 2014 23:10:11 +0000 (18:10 -0500)]
docs: use quotes instead of <firstterm>

12 years agodocs: don't use <application> tags
William Jon McCann [Tue, 4 Feb 2014 23:01:24 +0000 (18:01 -0500)]
docs: don't use <application> tags

12 years agodocs: don't use <option>
William Jon McCann [Tue, 4 Feb 2014 22:48:33 +0000 (17:48 -0500)]
docs: don't use <option>

12 years agodocs: don't use <quote>
William Jon McCann [Tue, 4 Feb 2014 22:42:22 +0000 (17:42 -0500)]
docs: don't use <quote>

12 years agodocs: don't use <tag> docbook elements
William Jon McCann [Tue, 4 Feb 2014 22:38:09 +0000 (17:38 -0500)]
docs: don't use <tag> docbook elements

12 years agodocs: use a code block instead of <screen>
William Jon McCann [Tue, 4 Feb 2014 22:31:17 +0000 (17:31 -0500)]
docs: use a code block instead of <screen>

12 years agodocs: replace another envar that sneaked in
William Jon McCann [Tue, 4 Feb 2014 22:25:37 +0000 (17:25 -0500)]
docs: replace another envar that sneaked in

12 years agodocs: replace all figures with headings and images
William Jon McCann [Tue, 4 Feb 2014 22:20:43 +0000 (17:20 -0500)]
docs: replace all figures with headings and images

12 years agodocs: fix last commit
William Jon McCann [Tue, 4 Feb 2014 22:09:12 +0000 (17:09 -0500)]
docs: fix last commit

12 years agodocs: replace all <examples> with markdown headings
William Jon McCann [Tue, 4 Feb 2014 21:57:57 +0000 (16:57 -0500)]
docs: replace all <examples> with markdown headings

12 years agodocs: Use markdown for section headings
William Jon McCann [Tue, 4 Feb 2014 20:42:30 +0000 (15:42 -0500)]
docs: Use markdown for section headings

12 years agodocs: use markdown instead of inlinegraphic tags
William Jon McCann [Mon, 3 Feb 2014 22:19:27 +0000 (17:19 -0500)]
docs: use markdown instead of inlinegraphic tags

12 years agodocs: Use markdown for ulinks
William Jon McCann [Mon, 3 Feb 2014 21:56:15 +0000 (16:56 -0500)]
docs: Use markdown for ulinks

12 years agodocs: use markdown instead of <filename> tags
William Jon McCann [Mon, 3 Feb 2014 21:34:03 +0000 (16:34 -0500)]
docs: use markdown instead of <filename> tags

12 years agodocs: use markdown for <envar> tags
William Jon McCann [Mon, 3 Feb 2014 21:20:00 +0000 (16:20 -0500)]
docs: use markdown for <envar> tags

12 years agoBump version
Matthias Clasen [Tue, 4 Feb 2014 21:57:58 +0000 (16:57 -0500)]
Bump version

12 years ago3.11.5
Matthias Clasen [Tue, 4 Feb 2014 04:19:23 +0000 (23:19 -0500)]
3.11.5

12 years agowidget factory: Style the revealer as a notification
Matthias Clasen [Tue, 4 Feb 2014 20:57:22 +0000 (15:57 -0500)]
widget factory: Style the revealer as a notification

Just to show that this is essentially the same as GdNotification
already.

12 years agoscalebutton: Apply a shape on the popover
Carlos Garnacho [Tue, 4 Feb 2014 19:46:06 +0000 (20:46 +0100)]
scalebutton: Apply a shape on the popover

This hideous hack is necessary so far because the main users of
GtkScaleButton are also clutter users, so the GtkScaleButton popover
will be very likely shaped against a clutter-enabled native window.

https://bugzilla.gnome.org/show_bug.cgi?id=723556

12 years agopopover: Add private _gtk_popover_set_apply_shape() call
Carlos Garnacho [Tue, 4 Feb 2014 19:45:53 +0000 (20:45 +0100)]
popover: Add private _gtk_popover_set_apply_shape() call

Popovers no longer sets a shape, unless this function is called. This
function exists so widgets that are potentially placed on top of other
native windows can get a popover that's nicely shaped, even if it has
no border shadow around.

https://bugzilla.gnome.org/show_bug.cgi?id=723556

12 years agopopover: Apply child shapes on the GtkWidget popover subwindow
Alexander Larsson [Tue, 4 Feb 2014 11:07:42 +0000 (12:07 +0100)]
popover: Apply child shapes on the GtkWidget popover subwindow

https://bugzilla.gnome.org/show_bug.cgi?id=723556

12 years agoUse gdk_screen_get_preferred_visual()
Matthias Clasen [Tue, 4 Feb 2014 18:13:52 +0000 (13:13 -0500)]
Use gdk_screen_get_preferred_visual()

When creating windows, and when returning a widgets
visual, use the new API to get the preferred visual.

12 years agoIntroduce API to get the preferred visual
Matthias Clasen [Wed, 22 Jan 2014 23:48:45 +0000 (18:48 -0500)]
Introduce API to get the preferred visual

Unless GDK_RGBA=0 is set, this will be the RGBA visual.
The new function is called gdk_screen_get_preferred_visual().

https://bugzilla.gnome.org/show_bug.cgi?id=630217

12 years agoRevert "gdk: enable rgba visuals by default"
Matthias Clasen [Tue, 4 Feb 2014 16:39:48 +0000 (11:39 -0500)]
Revert "gdk: enable rgba visuals by default"

This reverts commit a2ccb6601e0fb6dbe55517ad399728a00f6d7e40.

This turns out to break GtkStatusIcon, and invalidates
the documentation of gdk_screen_get_system_visual().

12 years agoGive up on border-image-repeat reftest
Matthias Clasen [Tue, 4 Feb 2014 14:49:30 +0000 (09:49 -0500)]
Give up on border-image-repeat reftest

12 years agoUpdate expected output for assistant a11y test
Matthias Clasen [Tue, 4 Feb 2014 14:28:10 +0000 (09:28 -0500)]
Update expected output for assistant a11y test

12 years agoIgnore hide-titlebar-when-maximized for custom titlebars
Matthias Clasen [Tue, 4 Feb 2014 12:52:11 +0000 (07:52 -0500)]
Ignore hide-titlebar-when-maximized for custom titlebars

Try this again, this time being a bit more careful about size
allocation of titlebars.

12 years agoRevert "Ignore hide-titlebar-when-maximized for CSD"
Matthias Clasen [Tue, 4 Feb 2014 11:14:46 +0000 (06:14 -0500)]
Revert "Ignore hide-titlebar-when-maximized for CSD"

This reverts commit 54ec157599627e7037f4f9dab0d913486dc0767e.

12 years agoupdated kn.po
Shankar Prasad [Tue, 4 Feb 2014 12:30:22 +0000 (18:00 +0530)]
updated kn.po

12 years agogdkwindow: Fix gdk_window_set_child_shapes()
Alexander Larsson [Tue, 4 Feb 2014 11:03:03 +0000 (12:03 +0100)]
gdkwindow: Fix gdk_window_set_child_shapes()

This did the reverse of what it should, making the shape be
the part where the children were *not*.

12 years agoAdd a release note about RGBA visuals
Matthias Clasen [Tue, 4 Feb 2014 03:43:59 +0000 (22:43 -0500)]
Add a release note about RGBA visuals

12 years agoMake gtk_window_set_titlebar work on realized windows
Matthias Clasen [Tue, 4 Feb 2014 03:38:06 +0000 (22:38 -0500)]
Make gtk_window_set_titlebar work on realized windows

Since realize does a lot of the heavy lifting of setting up
csd, we have to re-realize the window if we go from no-custom
titlebar to a custom titlebar or vice versa.

https://bugzilla.gnome.org/show_bug.cgi?id=722919

12 years agoRe-realize the window if needed
Matthias Clasen [Fri, 24 Jan 2014 19:32:00 +0000 (14:32 -0500)]
Re-realize the window if needed

When gtk_window_set_titlebar is called, we need to set up
client-side decorations properly, and the easiest way to do
so is to realize the window again. Really, you should call
set_titlebar before the window is realized.

https://bugzilla.gnome.org/show_bug.cgi?id=722919

12 years agowidget: Fix set_focus_child handling during focus changes
Olivier Brunel [Tue, 28 Jan 2014 19:33:09 +0000 (20:33 +0100)]
widget: Fix set_focus_child handling during focus changes

10b5ec20 made sure not to set focus_child to NULL all the way up to the
top, but only up to the common ancestor. However, it would never set it
on the common ancestor itself, which would therefore remain with a
focus_child set when it shouldn't.

A manifestation of the bug: focus column headers of a treeview, press Tab.
Now pressing Shift+Tab will go to another widget and not the column
headers, and Tab will (appear to) do nothing, all because the treeview
still has a focus_child set to column headers after a grab_focus().

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=723402

12 years agoAvoid a gtk-doc warning
Matthias Clasen [Tue, 4 Feb 2014 02:12:43 +0000 (21:12 -0500)]
Avoid a gtk-doc warning

12 years agoFix docs build
Matthias Clasen [Tue, 4 Feb 2014 02:03:37 +0000 (21:03 -0500)]
Fix docs build

12 years agoGtkMountOperation: Clean up a dangling signal handler
Matthias Clasen [Tue, 4 Feb 2014 02:00:17 +0000 (21:00 -0500)]
GtkMountOperation: Clean up a dangling signal handler

Based on a patch by Eugene Shatokhin,
https://bugzilla.gnome.org/show_bug.cgi?id=723366

12 years agoX11: Decode extension names in the error handler
Adam Jackson [Mon, 3 Feb 2014 20:37:00 +0000 (20:37 +0000)]
X11: Decode extension names in the error handler

This commit uses the Xlib cache to obtain the name of the X extension
for the request that caused the error.

https://bugzilla.gnome.org/review?bug=723555

12 years agogdkwindow-wayland: Obey Wayland buffer semantics
Jasper St. Pierre [Mon, 3 Feb 2014 23:45:32 +0000 (18:45 -0500)]
gdkwindow-wayland: Obey Wayland buffer semantics

We can't destroy buffers if they're in-use by the compositor. Well,
technically we can, but that is considered undefined by Wayland and
mutter won't cope with it very well -- it simply kills the client.

To solve this, we need to delay the destroy operation until the
compositor tells us that it's released the buffer. To do this, hold
an extra ref on the cairo surface as long as the surface is in-use
by the compositor.

12 years agoAdd a release note about background rendering
Matthias Clasen [Mon, 3 Feb 2014 21:49:15 +0000 (16:49 -0500)]
Add a release note about background rendering

12 years agoUpdate gtkvolumebutton.ui.h
Matthias Clasen [Mon, 3 Feb 2014 21:43:45 +0000 (16:43 -0500)]
Update gtkvolumebutton.ui.h

Removing the tooltips removed some strings.

12 years agoRevert "fixed: draw css background and borders"
Matthias Clasen [Mon, 3 Feb 2014 20:59:23 +0000 (15:59 -0500)]
Revert "fixed: draw css background and borders"

This reverts commit ba6128f8afc90bc32b45559f9c24964e78f6ff3d.

This change breaks emacs drawing entirely. Since GtkFixed is
somewhat of a legacy widget anyway, lets just not bother doing
this modernization there, at least for now.

12 years agoGtkVolumeButton: Remove tooltips
Matthias Clasen [Thu, 30 Jan 2014 02:30:01 +0000 (21:30 -0500)]
GtkVolumeButton: Remove tooltips

Showing tooltips on top of a transient popup does not work
out well, and is not really necessary here. At the same time,
remove the unnecessary repetitions of properties. In particular,
setting the label of the buttons here defeats the scale buttons
use of symbolic icons.

https://bugzilla.gnome.org/show_bug.cgi?id=723181

12 years agoGtkScaleButton: Use a popover
Matthias Clasen [Thu, 30 Jan 2014 02:20:22 +0000 (21:20 -0500)]
GtkScaleButton: Use a popover

This works better than the contortions we're currently doing
with an undecorated dialog, and grabs.

https://bugzilla.gnome.org/show_bug.cgi?id=723181

12 years agocss: Fix computation of pixels occupied by blur radius
Benjamin Otte [Mon, 3 Feb 2014 14:56:59 +0000 (15:56 +0100)]
css: Fix computation of pixels occupied by blur radius

These computations were done randomly in lots of places and more often
than not, they were also wrong.
This function was copied (with docs) from Firefox:
  http://lxr.mozilla.org/mozilla-central/source/gfx/2d/Blur.cpp

https://bugzilla.gnome.org/show_bug.cgi?id=723159

12 years agoa11y: Ignore deprecation warnings for ATK focus tracker
Benjamin Otte [Tue, 28 Jan 2014 18:49:22 +0000 (19:49 +0100)]
a11y: Ignore deprecation warnings for ATK focus tracker

12 years agodocs: add missing close para tag
William Jon McCann [Mon, 3 Feb 2014 14:57:01 +0000 (09:57 -0500)]
docs: add missing close para tag

From 30cc1512e

12 years agodocs: fix spurious list close tag
William Jon McCann [Mon, 3 Feb 2014 14:51:40 +0000 (09:51 -0500)]
docs: fix spurious list close tag

Missed by patch 30cc1512e

12 years agoExempt GtkAssistant.use-header-bar from defaultvalue test
Matthias Clasen [Sun, 2 Feb 2014 22:57:07 +0000 (17:57 -0500)]
Exempt GtkAssistant.use-header-bar from defaultvalue test

Just like GtkDialog, this one has a special-purpose
default value.

12 years agoUpdated Ukrainian translation
Daniel Korostil [Sun, 2 Feb 2014 22:36:13 +0000 (22:36 +0000)]
Updated Ukrainian translation

12 years agoAdd a testcase for various dialog headerbar scenarios
Matthias Clasen [Sun, 2 Feb 2014 22:27:34 +0000 (17:27 -0500)]
Add a testcase for various dialog headerbar scenarios

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 2 Feb 2014 11:57:24 +0000 (13:57 +0200)]
Updated Lithuanian translation

12 years agoDocs: Don't use note elements
Matthias Clasen [Sun, 2 Feb 2014 06:22:14 +0000 (01:22 -0500)]
Docs: Don't use note elements

In most cases, the text itself makes the message clear enough.

12 years agoDocs: Use markdown for lists
Matthias Clasen [Sun, 2 Feb 2014 06:07:39 +0000 (01:07 -0500)]
Docs: Use markdown for lists

This greatly reduces the amount of xml in the docs.

12 years agodocs: Convert to markdown
Matthias Clasen [Sun, 2 Feb 2014 05:29:00 +0000 (00:29 -0500)]
docs: Convert to markdown

Specifically, switch to using markdown syntax for sections.

12 years agoUpdated Brazilian Portuguese translation for Properties
Rafael Ferreira [Sun, 2 Feb 2014 03:02:44 +0000 (01:02 -0200)]
Updated Brazilian Portuguese translation for Properties

12 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Sun, 2 Feb 2014 02:57:02 +0000 (02:57 +0000)]
Updated Brazilian Portuguese translation

12 years agoUpdated POTFILES.in and POTFILES.skip
Piotr Drąg [Sat, 1 Feb 2014 16:47:24 +0000 (17:47 +0100)]
Updated POTFILES.in and POTFILES.skip

12 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Sat, 1 Feb 2014 15:20:08 +0000 (15:20 +0000)]
Updated Kazakh translation

12 years agoUpdated Indonesian translation
Andika Triwidada [Sat, 1 Feb 2014 11:34:04 +0000 (11:34 +0000)]
Updated Indonesian translation

12 years agodocs: remove spurious para
William Jon McCann [Sat, 1 Feb 2014 09:35:54 +0000 (04:35 -0500)]
docs: remove spurious para

12 years agodocs: list items require blank lines
William Jon McCann [Fri, 31 Jan 2014 16:11:23 +0000 (11:11 -0500)]
docs: list items require blank lines

12 years agodocs: use markdown instead of docbook tags
William Jon McCann [Thu, 30 Jan 2014 01:54:09 +0000 (20:54 -0500)]
docs: use markdown instead of docbook tags